package com.oa.entity.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 用户表
 */
@ApiModel("用户")
@Data
@TableName(value = "t_user")
public class User {
    @TableId(value = "id",type = IdType.AUTO)
    private  Integer id;
    @ApiModelProperty("用户名")
    private  String name;
    @ApiModelProperty("密码")
    private  String password;
}
